package io.openmessaging.utils;

/**
 * @author cuijd    2021/10/8 11:02
 */
public class AtomicLong extends java.util.concurrent.atomic.AtomicLong {
    private long mark;

    public long increments() {
        long result = get() - mark;
        mark = get();
        return result;
    }
}
